package com.zhou.blog.service;

import com.zhou.blog.vo.Result;
import com.zhou.blog.vo.params.ArticleParam;
import com.zhou.blog.vo.params.PageParams;

import java.text.ParseException;

public interface ArticleService {

    //分页查询文章列表
    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticles(int limit);

    Result listArchives();

    Result findArticleById(Long id);

    Result publish(ArticleParam articleParam);
}
